﻿using System;

using MongoDB.Bson.Serialization.Attributes;

namespace MVCBootstrap.MongoDB {

	public class Translation {
		[BsonElement(TranslationFieldNames.Language)]
		public String Language { get; set; }
		[BsonElement(TranslationFieldNames.Text)]
		public String Text { get; set; }
		[BsonElement(TranslationFieldNames.Dialect)]
		public String Dialect { get; set; }
	}

	internal static class TranslationFieldNames {
		public const String Language = "lan";
		public const String Text = "text";
		public const String Dialect = "dialect";
	}
}